home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / snippet.exe / SNIPPETS.NDX < prev    next >
Encoding:
Text File  |  1992-07-04  |  18.2 KB  |  331 lines

  1. NOTE: "-" preceding file name means new or modified since last SNIPPETS
  2.  
  3. File            Author          Description
  4. --------------  --------------  ----------------------------------------------
  5. -Snippets.Ndx                   SNIPPETS index - this file
  6.  Make.Ini       Jim Nutt        Master file for NDMAKE
  7. -Ansiscrn.H                     Macros for ANSI.SYS screen control
  8.  Cast.H         Bob Stout       Cast any object to any type
  9. -Dow.H          Paul Schlyter   Day-of-week macro
  10. -Hilobyte.H                     Extract high, low bytes from an int
  11. -Portable.H     Scott Ladd      Write portable code for various PC compilers
  12.  Round.H        Dave Knapp      Rounding macros
  13.  Scrnmacs.H     Jerry Houston   Macros for direct video work
  14.  C_Lines.Awk    Dan Kozak       AWK program to count lines of C code
  15.  8087_Sav.Asm   Jeffrey Nonken  Saves/restores 80x87 environment
  16.  Coldboot.Asm   David Nugent    Reliable cold/warm boot
  17.  Cpucheck.Asm                   Determine type of CPU in use
  18. -Hires.Asm                      Switch to 43/50 line mode on EGA/VGA
  19.  Ndpcheck.Asm                   Determine presence of coprocessor
  20. -Readisk.Asm    Bob Stout       Read absolute disk sectors
  21. -A2E.C          Bob Stout       ASCII <=> EBCDIC conversions
  22.  Addhndls.C     Doug Burger     Allow more than 20 open files under DOS 3+
  23.                 Bob Jarvis
  24. -Ansiflen.C     Bob Jarvis      ANSI-compliant file size function
  25.  Ansiload.C     Bob Jarvis      Detect ANSI.SYS
  26. -Ansiself.C     Thad Smith      Self-replicating program in ANSI C
  27.  Ansisys.C                      Detect ANSI.SYS
  28.  Approx.C       John Rex        Fuzzy string search
  29.  Assignpr.C     Bob Stout       Multiple printer support
  30. -Atr2Ansi.C     Bob Stout       Build ANSI.SYS command string, given attribute
  31. -Bascnvrt.C     Bob Stout       Convert radix of a numeric string
  32. -Bastrngs.C     Bob Stout       BASIC-like string functions
  33.  Biport.C       Bob Stout       Port Borland code using pseudovariables
  34.  Bitarray.C                     Bit array functions
  35.  Bitcnt_1.C     Ratko Tomic     Count bits in a number (fast, clever)
  36.  Bitcnt_2.C                     Count bits in a number (fascinating)
  37. -Bitfiles.C     Aare Tali       Bit I/O for buffered (fopen'ed) files
  38.  Bitops.C       Bob Stout       Small bit array macros
  39.  Changprn.C     Bob Stout       Change the standard printer device
  40.  Checkexe.C     Bob Jarvis      Checksum protection for executable files
  41. -Chgext.C       Bob Stout       Change/add a file name extension
  42. -Clock.C        Jon Guthrie     On-screen clock generator
  43. -Combin.C       Thad Smith III  Compute combinations without overflow
  44. -Commafmt.C     Bob Stout       Add thousands separators to numeric strings
  45.  Crc-16c                        Calculated 16-bit CRC
  46.  Crc-16F.C                      Fast 16-bit CRC
  47.  Crc_32.C       Gary S. Brown   Table lookup 32-bit CRC
  48.  Crypt.C        Bob Stout       S-Coder data encryption from DDJ
  49. -Ctrlprnt.C     Bob Stout       Print a line, displaying Ctrl characters
  50.  Cursor1.C      Bill Wilkie     Cursor management/manipulation
  51.  Cursor2.C      Gary Chambers   Hide/unhide cursor
  52.  Daylen.C       Paul Schlyter   Computes length of day at any place on Earth
  53.  Dd_Struc.C     Wayne Hamilton  TC/TC++/BC++ DOS file time/date macros
  54.  Descrypt.C                     DES encryption/decryption
  55.  Doscopy.C      Peter Yard      Copy a file
  56. -Drvalid.C      Bob Stout       Benignly validate disk drives
  57. -Dspdtst.C                      I/O benchmark - MSC/TC/ZTC/Watcom
  58.  Editgets.C     Paul Roub       Get an input string with editing functions
  59. -Eval.C         Bob Stout       Simple arithmetic expression evaluator
  60. -Favail.C       Bob Stout       How many more files may be fopen'ed?
  61.  Fcopy.C        Bob Jarvis      Copy a file
  62. -Ferrorf.C      Mark Devlin     Formatted error messages
  63. -Figets.C       Jan Vroonhof    Like fgets, except reads backwards
  64. -Fmtmoney.C     Bob Stout       Format US dollar amounts into text strings
  65. -Fndislot.C     Bob Stout       Locate an unused user interrupt vector
  66.  Fscanbin.C     Ray Gardner     Scan binary fields via format string
  67.  Fsm.C                          Demonstrates a finite state machine
  68. -Getdcwd.C      Bob Jarvis      Get current working directory for given drive
  69.  Get_Dirs.C     Mike Gillen     Build a linked list of directories
  70. -Getkey.C       Bob Stout       Get extended key codes
  71.  Getopt3.C                      AT&T compatible getopt(3)
  72.  Getopts.C      Paul Edwards    Scan command line for switches
  73.  Getseg.C       Bob Stout       Get segment and offset of any object
  74.  Getstrng.C     Ron Sires       Safe gets() for input string of unknown length
  75.  Glbl_Env.C     Peter Thomas    Update & remove global environment variables
  76. -Grafline.C     David Harmon    Demo of PC line drawing characters
  77.  Howdy.C                        Obfuscated C code
  78. -Hstr_I.C       Bob Stout       Convert hex string to int
  79. -Hugeread.C     Bob Stout       Read & write huge data using far pointers
  80. -Hugesort.C     Ray Gardner     Quicksort using huge pointers
  81.  Initvars.C     Ray Gardner     Read data into variables
  82. -Isfile.C       Bob Jarvis      Is a file handle associated with a file?
  83. -Isfopen.C      Bob Stout       Is a FILE * in use?
  84.  Ispow2.C                       Is a number an integral power of 2?
  85.  Isqrt.C                        Integer square root
  86. -Isshift.C      Jeff Dunlop     Determine if a shift key is pressed
  87.  Jdn.C          Paul Schlyter   Julian Day Number computation
  88.                 Ray Gardner
  89.  Joystick.C     Bob Stout       Joystick support functions
  90.  Kb_Data.C      Dan Kozak       Keyboard status determination
  91.  Keylocks.C                     Caps/Num lock set/clear functions
  92. -Keywatch.C     Robert Mashlan  Demonstrates capturing keyboard interrupt
  93.  Lasort.C       Paul Edwards    Distribution counting sort rediscovered
  94.  Lbitops.C      Scott Dudley    Large bit array macros
  95.  Ldfloor.C      Ray Gardner     Long double floor
  96. -Ll_Msort.C     Ray Gardner     Linked list mergesort
  97.  Ll_Qsort.C     Jon Guthrie     Linked list quicksort
  98.  Ltoa.C         Bob Stout       Convert long to a string
  99.  Ltostr.C       Thad Smith III  Convert long to a string
  100. -Lv1Ws.C        Bob Stout       Convert whitespace strings to single spaces
  101.  Mainmain.C                     Obfuscated C code
  102.  Mcb_Env.C                      Modify master environment using MCB's
  103.  Mdalloc.C      Blair Haukedal  Multi-dimentional array alloction
  104.  Memlist.C      Nigel Cort      List TSR's by name
  105. -Memrev.C       Ray Gardner     Assymetrical memory swap
  106.  Mouse1.C       Doug Boone      MS Mouse functions
  107. -Mouse2.C       Rob de Voer     MS Mouse functions
  108. -Mouse3.C       Bob Jarvis      MS Mouse functions
  109. -Mouse4.C       Uwe E. Schirm   MS Mouse functions
  110.  Msc_Peek.C     Bob Stout       Add peek/poke to MSC
  111.  Noctrl.C                       Traps Ctrl-C, Ctrl-Break, Ctrl-Alt-Del
  112.  Noreset.C                      Traps Ctrl-Alt-Del
  113. -Ord_Text.C     Bob Stout       Format ordinal numbers in English
  114. -Pbmsrch.C      Jerry Coffin    Pratt-Boyer-Moore string search
  115. -Pcnvrt.C       Bob Stout       Convert Pascal strings to C
  116.  Perm_Idx.C     Thad Smith III  Determine permutation index
  117. -Pfopen.C       David Engel     Open a file anywhere
  118.  Pluraltx.C     Bob Stout       How to print proper plurals
  119. -Prtoggle.C     Bob Stout       Tee stdio to stdprn
  120. -Prtscrn.C      Bob Stout       Invoke BIOS print screen function
  121. -Prtstat.C      Bob Stout       Determine printer status
  122. -Pushdir.C      Bob Stout       Stack-oriented CHDIR functions
  123.  Qbsort.C                       Optimized bubble sort
  124.  Rand1.C        Phil Linttell   Random number generator
  125.  Rand2.C        E. Schneider    Random number generator
  126.  Rand3.C                        Random number generator
  127.  Ratko.C        Ratko Tomic     5 x 8 Sieve benchmark
  128.  Rays.C         Daniel Lyke     Ray tracing functions
  129.  Redir.C        F. Piette       Demonstrates output redirection
  130.  Regex.C        Orv Stoll       Regular expression (subset) pattern matching
  131.  Rg_Qsort.C1    Ray Gardner     Non-Recursive ANSI quicksort function
  132. -Rg_Qsort.C2    Ray Gardner     Recursive ANSI quicksort function
  133. -Rg_Rand.C      Ray Gardner     Minimal random number generator
  134.  Rg_Ssort.C     Ray Gardner     ANSI quicksort-compatible shellsort function
  135. -Rmallws.C      Bob Stout       Remove all whitespace from a string
  136. -Rmlead.C       Bob Stout       Remove leading whitespace from a string
  137. -Rmtrail.C      Bob Stout       Remove trailing whitespace from a string
  138.  Rndmize.C                      How to seed ANSI random number generator
  139.  Scanfrac.C     Thad Smith III  Scans/converts text fractions
  140. -Scrnsave.C     Jeff Dunlop     Save and restore text screens
  141.  Scrnsize.C     Bob Jarvis      Get screen size
  142. -Setenvar.C     Bob Stout       Set DOS master environment *legally*
  143. -Shel2Dos.C     Bob Stout       Shell to DOS from a running program
  144.  Showdate.C                     TC/TC++/BC++ display file date
  145.  Soundex.C      Bob Jarvis      Standard English soundex
  146.  Speed.C                        Benchmark to calculate I/O performance
  147. -Sstrcpy.C      Ray Gardner     Overlapping strcpy() & strcat() work-alikes
  148.  Stats.C        Bob Stout       Analyze file statistics
  149. -Stptok.C       Ray Gardner     Improved tokenizing function
  150.  Strftime.C     Jim Nutt        Non-locale version of ANSI strftime()
  151.                 Rob Duff
  152. -Strrepl.C      Gilles Kohl     Replace substrings
  153.  Strrev.C       Bob Stout       Reverse a string in place using XOR swapping
  154.  Strsort.C      Ray Gardner     (Shell) Sort a string array
  155.  Strucfil.C     Lynn Nash       Read/write structures to/from a file
  156.  Style.C                        Suggested coding style guidelines
  157. -Timegetc.C     Bob Jarvis      Wait specified time for a keypress
  158.  Toascii.C                      EBCDIC-ASCII conversion arrays
  159. -Tp6Tod.C       Thad Smith III  Convert TP 6-byte reals to C doubles
  160. -Truename.C     gk              Normalize filename using undocumented DOS
  161. -Unix2Dos.C     Bob Stout       Convert Unix-style pathnames to DOS-style
  162.  Video_1.C      Jim Nutt        Setup video operations
  163. -Video_2.C      Jeff Dunlop     C video information functions
  164.  Wb_Fcopy.C     Walter Bright   Fast file copy/append
  165.  Weird.C                        Obfuscated C code
  166.  Windchil.C                     Compute wind chill factor
  167.  Wordwrap.C     Robert Morgan   Simple CRT word wrap demonstration
  168.  Xstrcat.C                      String concatenation functions
  169.  Liteclas.Cpp                   C++ wrapper for LITECOMM
  170.  
  171. --------------- FAQ file (answers to Frequently Asked Questions --------------
  172.  
  173.  Storage.Typ    Jeff Galbraith  Storage types crib sheet
  174. -Rtfltrul.Txt                   Deciphering C declarations crib sheet
  175. -Ptr_Help.Txt   Ted Jensen      Help with C pointers
  176.  C_Port.Txt     Joseph Carnage  Portability guidelines
  177.  Enums.Txt      Bob Stout       Some tricks using enumerated data types
  178. -Which_C.Txt    Bob Stout       Comparison of some PC C compilers
  179.  Environ.Txt    Bob Stout       Information of environment variable setting
  180.  Sharing.Txt    Mike Ratledge   How to check if file sharing is active
  181.  Evsavres.Txt                   How to blank/restore EGA/VGA screen
  182.  
  183. --------------- Jim Nutt's direct video functions ----------------------------
  184.  
  185.  Vio.H                          Direct screen package
  186. -Vio.Asm                          "      "      "
  187.  
  188. --------------- Bob Stout's Int 2Eh functions --------------------------------
  189.  
  190.  Int2E.Asm                      Access command processor "back door"
  191.  Ccomcall.C                     C "glue" to use Int 2Eh
  192.  
  193. --------------- Bob Stout's POSIX compliant directory functions --------------
  194.  
  195.  Dirent.H                       POSIX compliant header
  196.  Rfind1St.C                     Compiler-independent find first/next functions
  197.  Posixdir.C                     opendir(), readdir(), seekdir(), closedir()
  198.  Posix_Ls.C                     Directory lister demo
  199.  
  200. --------------- Bob Stout/Sreenath Chary file name processing functions ------
  201.  
  202.  Dirmask.C      Bob Stout       Complex pattern matching (calls patmat())
  203.  Patmat.C       Sreenath Chary  String pattern matching
  204.  Fln_Fix.C      Bob Stout       Crunch dot directories, verify DOS-valid paths
  205.  Flnorm.C       Bob Stout       Full file name normalization
  206.  
  207. --------------- Michael Rendell's POSIX compliant directory functions --------
  208.  
  209.  Msd_Dir.H                      POSIX compliant header
  210.  Msd_Dir.C                      POSIX compliant directory functions
  211.  
  212. --------------- Bob Stout/Lynn Lively/David Fox sound & timing package -------
  213.  
  214.  Uclock.H       David L. Fox    Microsecond timing function header
  215.  Uclock.C         "   "   "     Microsecond resolution timing functions
  216.  Sound.H        Bob Stout       Sound functions header
  217.  Sound.C         "    "         Speaker control functions
  218.  Mktone.C        "    "         Tone generation functions
  219.  Playlib.C      Lynn R. Lively  Background music package
  220.  Playdemo.C     Bob Stout       Demo of backgroud music package
  221.  
  222. --------------- Greg Messer's C/C++ comment extractor ------------------------
  223.  
  224.  Getcmt.C       Greg Messer     Extract comments from C/C++ source files
  225.  Testcmt.C        "    "        Test file for above
  226.  
  227. --------------- Scott Ladd's file search functions ---------------------------
  228.  
  229.  Filesrch.H                     Header for Filesrch.C
  230.  Filesrch.C                     Search for matching files w/ prompting
  231.  
  232. --------------- Ray Gardner's scalar date function with calendar demo --------
  233.  
  234.  Scaldate.C     Ray Gardner     Scalar ("Julian") date functions
  235.  Cal.C          Bob Stout       Calendar using Scaldate.C
  236. -Daynum.C       Bob Stout       Return statistics about a given date
  237.  
  238. --------------- Martin Maney's FOSSIL access functions -----------------------
  239.  
  240.  Fossil.H                       C header w/ prototype declarations
  241.  Fossil.C                       C access functions
  242.  Fossil.Asm                     MASM low-level functions
  243.  
  244. --------------- Ruurd Pels's FOSSIL access functions -------------------------
  245.  
  246. -X00Api.H                       C header w/ prototype declarations
  247. -X00Api.C                       C access functions
  248.  
  249. --------------- Robert Mashlan's PRINT.COM interface functions ---------------
  250.  
  251. -Prnspool.H                     C header w/ prototype declarations
  252. -Prnspool.C                     PRINT.COM spool queue functions
  253. -Printq.C                       Demo program for above
  254.  
  255. --------------- Robert Mashlan's memory allocation strategy functions --------
  256.  
  257. -Strat.H                        C header w/ prototypes and enum'ed constants
  258. -Strat.C                        C functions
  259.  
  260. --------------- Jerry Coffin's word wrapping functions -----------------------
  261.  
  262. -W_Wrap.H                       C header w/ prototypes and enum'ed constants
  263. -W_Wrap.C                       C functions
  264.  
  265. --------------- Bob Stout's absolute sector read/write functions -------------
  266.  
  267. -Dos5Boot.H                     Header for boot sector access
  268. -Absdiskc.C                     C read and write functions
  269. -Absdisk.Asm                    Low-level code for disk I/O, DOS 2-5
  270.  
  271. --------------- Ray McVay's mouse functions ----------------------------------
  272.  
  273. -Mouse.C                        Essential mouse stuff
  274. -Scrnpick.C                     Demo, retrieves text from screen using mouse
  275.  
  276. --------------- Jeff Dunlop's diagnostic malloc/calloc/free functions --------
  277.  
  278. -Jmalloc.H                      Include file for using allocation diagnostics
  279. -Jmalloc.C                      Allocation diagnostic functions
  280.  
  281. --------------- DOS utilities as demos ---------------------------------------
  282.  
  283.  A2B.C          Paul Rutter     Filter ASCII to bytes
  284.                 Joe Orost
  285.  B2A.C          Paul Rutter     Filter bytes to ASCII
  286.                 Joe Orost
  287.  Bigfac.C       Carl Declerck   Do large factorials using ASCII multiply
  288.  Bordcolr.C     Bob Jarvis      Set border color
  289. -C_Cmnt.C       Thad Smith      Extract comments from a C source file
  290.  Cdir.C         Lynn R. Lively  Like DOS CHDIR except changes drives as well
  291.  Chbytes.C      Bob Stout       Edit binary files in place
  292.  Chmod.C        Bob Stout       Change DOS file attributes - wildcards, etc.
  293. -Do.C                           Specify multiple command line commands
  294.  Dossort.C      Robert Mashlan  DOS SORT work-alike
  295. -Drivsrch.C     Marty Connely   Search for physical/logical drives
  296.  Dspclock.C     Mike Jones      On-screen TSR clock
  297.  Factor.C       Ray Gardner     Print prime factorization of a number (double)
  298. -Filcount.C     Bob Stout       Count files/directories
  299. -Getvol.C       Bob Stout       Retrieve a disk volume label
  300.  Grep.C         DECUS           Full featured grep
  301.                 Bob Jarvis
  302.  Head.C                         Unix head work-alike
  303.  Ifactor.C      Ray Gardner     Print prime factorization of a number (long)
  304.  Issue.C        J.C. Weilandt   DOS wildcarding for external executables
  305.  Kbflip.C       Bob Stout       Set/clear Caps/Num/Scroll locks
  306. -Killff.C       Jerry Gore      Strip FF characters from text files
  307.                 Erik VanRiper
  308.  Lsd.C          Bob Stout       DOS DIR enhanced work-alike
  309.  Lzhuf.C        Yoshi           Compression used in LHARC & LHA
  310.  Maze_1.C       Jon Guthrie     Maze generator
  311.  Maze_2.C                       Obfuscated maze generator
  312.  Morse.C        Mike Dodd       Convert strings to morse code
  313.  Palndrom.C     Dan Hoey        Self-replicating palindrome - try it!
  314.  Permute1.C     Dave Chapman    Permute strings
  315.  Permute2.C     Jon Guthrie     Permute strings
  316.  Pi.C                           Calculate PI to 60,000 digits or more
  317.  Popdial.C                      Pop-up communications
  318.  Query.C        Bob Stout       Timed query w/default for batch files
  319.  Rdxcnvrt.C     Bob Stout       Convert between number bases
  320.  Rm_All.C       Bob Stout       Remove all files - now supports recursion
  321.  Setlevel.C     Lynn R. Lively  Allow user input into a .BAT file
  322. -Setvol.C       Bob Stout       Set, change, or kill a disk volume label
  323. -Stub.C         Bob Stout       Truncate .OBJ (and other) files
  324.  Tail.C         Joe Huffman     Print last n (default = 5) lines of a file
  325.  Touch.C        Ray L. McVay    TC/TC++/BC++ set file time/date stamp
  326. -Treedir.C      Bob Stout       Recursive directory lister
  327. -Uuencode.C     Don Kneller     Unix uuencode
  328.  Uudecode.C     John Lots       Unix uudecode
  329. -Wc.C           Jay Elkes       Like Unix wc, counts lines, words, chars
  330.  Where.C                        Search for a file
  331.